package com.woniu.commentorder.service;

import com.hc.entity.Agree;
import com.hc.entity.User;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface UserService {
    public User getById(int id);
    public List<Agree> getByUser(int id);
    public void concel(Agree agree);
    public void dianzan(Agree agree);
}
